/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package commands;

import events.IActor;

/**
 *
 * @author SafarTimuro
 */
public abstract class CommandDef {
    private String verb;
    private String[] aliases;
    
    public CommandDef(String verb, String[] aliases){
        this.verb = new String(verb);
        this.aliases = aliases.clone();
    }
    
    public String getPrimaryVerb() {
        return verb;
    }
    
    public String[] getAliasVerbs() {
        return aliases.clone();
    }
    
    //@todo fix this pass
    public abstract GameCommand generateCommand(IActor actor, String toParse);
}
